<?php if (!defined('THINK_PATH')) exit();?><!--作者千柒qq743395324-->
<html lang="zh">
  
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width" initial-scale="1">
    <meta name="Keywords" content="<?php echo ($site["Keywords"]); ?>">
    <meta name="description" content="<?php echo ($site["description"]); ?>">
    <link rel="stylesheet" type="text/css" href="/Public/home/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/Public/home/css/bootstrap-grid.min.css">
    <link rel="stylesheet" type="text/css" href="/Public/home/css/bootstrap-reboot.min.css">
    <link rel="stylesheet" type="text/css" href="/Public/home/css/pod-min.css">
    <script type="text/javascript" src="/Public/admin/js/jquery.min.js"></script>
    <title><?php echo ($site["name"]); ?>-<?php echo ($site["title"]); ?></title></head>
  <body>
    <div class="cont">
      <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="">
          <img src="<?php echo ($site["logo"]); ?>" width="138" height="32"></a>
      </nav>
      <div class="container so">
        <h2>Simple navigation</h2>
        <form class="input-group" action="https://www.baidu.com/s" target="_blank" method="get">
          <style type="text/css">.bdsug_copy{display:none}</style>
          <input name="ie" type="hidden" value="utf-8">
          <input type="text" class="form-control" id="inword" name="word" size="30" baidusug="1" placeholder="随时百度一下" aria-describedby="button-addon4" autocomplete="off">
          <div class="input-group-append" id="button-addon4">
            <input class="btn btn-outline-secondary" type="submit" value="百度一下">
            </div>
        </form>
      </div>
    </div>
    <div class="container content">
      <div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-lg-6">
        <div class="col send">
          <a class="one" href="https://s.weibo.com/top/summary?cate=realtimehot" target="_blank">微博热搜</a></div>
        <div class="col send">
          <a class="two" href="https://www.xinpianchang.com/channel/index/sort-like" target="_blank">优质短片儿</a></div>
        <div class="col send">
          <a class="three" href="https://www.zcool.com.cn/discover" target="_blank">站酷精选</a></div>
        <div class="col send">
          <a class="four" href="https://www.newrank.cn/public/info/list.html?period=day&amp;type=data" target="_blank">自媒体榜单</a></div>
        <div class="col send">
          <a class="five" href="https://pixabay.com/" target="_blank">图片素材</a></div>
        <div class="col send">
          <a class="six" href="https://weixin.sogou.com/" target="_blank">微信热门</a></div>
      </div>
    <?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><h5 class="tit">
        <?php echo ($v["class_name"]); ?></h5>
      <div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-lg-6">
        <?php $web= M('webdata')->where(array('uid'=>0,'type'=>1,'sid'=>$v['id']))->select(); ?>
        <?php if(is_array($web)): $i = 0; $__LIST__ = $web;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><div class="col" style="text-align: center;">
          <a href="<?php echo ($v["url"]); ?>" class="click" data="<?php echo ($v["id"]); ?>" target="_blank"><?php echo ($v["title"]); ?>&nbsp;</a></div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div><?php endforeach; endif; else: echo "" ;endif; ?>
    <footer>
      <div class="copyright">
        <span>Copyright © 2019-2020
          <a href=""><?php echo ($site["name"]); ?></a> All Rights Reserved.
          <a href="http://beian.miit.gov.cn/" target="_blank"><?php echo ($site["ipc"]); ?></a>.<?php echo ($site["con"]); ?></span>
      </div>
    </footer>
  </body>
</html>
<script>
$('.click').click(function() {
    $.ajax({
        type: "POST",
        data: 'id='+$(this).attr("data"),
        url: "<?php echo U('Index/web_click');?>",
        success: function(data) {   
        }
    });
});
</script>